package com.kinon.market.sqlbean;

import org.litepal.crud.DataSupport;

/**
 * Created by luohao on 2017-08-09.
 */

public class GoodsBean extends DataSupport {

    private String gid;
    private String code;
    private String name;
    private double purchaseprice;

    public GoodsBean(String gid, String code, String name, double purchaseprice) {
        this.gid = gid;
        this.code = code;
        this.name = name;
        this.purchaseprice = purchaseprice;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPurchaseprice() {
        return purchaseprice;
    }

    public void setPurchaseprice(double purchaseprice) {
        this.purchaseprice = purchaseprice;
    }

    @Override
    public String toString() {
        return "GoodsBean{" +
                "gid='" + gid + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", purchaseprice=" + purchaseprice +
                '}';
    }
}
